const router = require('koa-router')();
const vendor = require('../../controller/product/vendor.controller');

router.post('/', vendor.add);
router.delete('/:vendor_id', vendor.delete);
router.put('/', vendor.update);
router.get('/', vendor.getList);

module.exports = router;